package com.singularity.common.domain.dto.permission;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 天
 *
 * @description: 权限信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PermissionInfoDTO{

    private Long id;

    private Long pId;

    private String name;

    private Integer type;

    private String path;

    private Integer status;

    private List<PermissionInfoDTO> permissions = new ArrayList<>();
}
